<?php
namespace app\index\model;
class UsersAddress extends \think\Model{
    // 定义全局的查询范围
    protected function base($query){
        $query->where('is_delete',0);
    }
}
